CreateMountTarget
Description
call the CreateMountTarget interface to create a mount point.
Request Method
POST
Request Path
/apsara/route/NAS/CreateMountTarget
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
VpcId | BODY | string | No | vpc-2zesj9afh3y518k9o**** | proprietary network ID. When the network type is a proprietary network, this field is required and meaningful. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
NetworkType | BODY | string | Yes | VPC | mount point network type. Value: Vpc: VPC Classic: Classic Network |
AccessGroupName | BODY | string | Yes | classic-test | permission group name. default permission group: DEFAULT_VPC_GROUP_NAME (vpc default permission group) and DEFAULT_CLASSIC_GROUP_NAME (classic network default permission group). |
VSwitchId | BODY | string | No | vsw-2zevmwkwyztjuoffg**** | switch ID. When the network type is a proprietary network, this field is required and meaningful. |
SecurityGroupId | BODY | string | No | sg-bp1fg655nh68xyz9**** | security group ID. |
FileSystemId | BODY | string | Yes | 174494**** | file system ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 70EACC9C-D07A-4A34-ADA4-77506C42**** | request ID. |
MountTargetDomain | string | 174494b666-x****.cn-hangzhou.nas.aliyuncs.com | mount point domain name. |
Example
Successful Response example
{
"RequestId":"70EACC9C-D07A-4A34-ADA4-77506C42****",
"MountTargetDomain":"174494b666-x****.cn-hangzhou.nas.aliyuncs.com"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}